<template>
  <div class="account">
    <el-form :model="account" label-width="60px" ref="formRef">
      <el-form-item label="账号" prop="name">
        <el-input v-model="account.name" />
      </el-form-item>

      <el-form-item label="密码" prop="password">
        <el-input v-model="account.password" show-password />
      </el-form-item>
    </el-form>
  </div>
</template>

<script setup lang="ts" name="account">
import { reactive, ref } from 'vue'

// 定义内部的数据
const account = reactive({
  name: '',
  password: ''
})
</script>

<style scoped lang="less"></style>
